<template>
<div class="register">
  <input type="text" placeholder="请输入11位手机号">
  <div class="note">
    <input type="text" placeholder="请输入短信验证码"><span>获取验证码</span>
  </div>
  <input type="text" placeholder="请输入6-12位密码">
  <div class='contract'>
    <input type="checkbox"><p>我已阅读并同意 <a href="#">《商城销售合同》</a> </p>
  </div>
  <button>登录</button>
</div>
</template>

<script>
    export default {
        name: "register"
    }
</script>

<style scoped>
  .register{
    padding: 40px;
  }
  input{
    width: 100%;
    line-height: 30px;
    text-indent: 12px;
    margin: 12px auto 0;
    border-width: 0 0 1px 0;
    outline: none;
  }
  .note{
    display: flex;
    border-bottom:solid 1px #dddddd;
  }
  .note input{
    flex: 1;
    border: none;
  }
  .note span{
    line-height: 40px;
    font-size: 12px;
    margin-right: 5px;
    color: dodgerblue;
  }
  .contract{
    line-height: 30px;
    display: flex;
    padding-top: 10px;
  }
  .contract input{
    display: block;
    width: 15px;
    height: 15px;
    margin: 7px;
  }
  .contract input:after{
    display: inline-block;
    width: 15px;
    height: 15px;
    background: dodgerblue;
    z-index: 999;
  }
  .contract p{
    flex: 1;
    font-size: 12px;
    color: #666;
  }
  .contract p a{
    text-decoration: none;
    color: dodgerblue;
  }
  button{
    border: none;
    width: 80%;
    padding: 10px 24px;
    border-radius: 25px;
    margin:30px auto;
    background: royalblue;
    color: white;
    outline: none;
    display: block;
  }
</style>
